﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/BaseMaster/DetailPages.Master" AutoEventWireup="true" CodeBehind="RoleUser.aspx.cs" Inherits="Liu_Project.Web.Admin.Pages.Personal.EntRole.RoleUser" %>

<asp:Content ID="Content1" ContentPlaceHolderID="DetailTitle" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="DetailHead" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="DetailContent" runat="server">
    <!--#include file="../../../html/Common/templet_laytpl.html" -->
    <div class="layui-row layui-col-space10">
        <div class="layui-col-md12">
            <div class="layui-card">
                <%--<div class="layui-card-header"></div>--%>
                <div class="layui-card-body">
                    <table id="tableGrid" lay-filter="tbGrid" class="table_margin_0"></table>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="DetailScript" runat="server">
    <script src="../../../Scripts/Other/tableForm.js"></script>
    <script>
        function setData(Id) {
            var tableOption = {
                elem: '#tableGrid',
                url: bootPATH + '/Admin/Handler/Personal/EntRoleHand.ashx',
                where: { act: "LoadUserList", Id: Id },
                //height: 'full-40',//表格容器距离浏览器顶部和底部的距离“和”，加上面板上下内边距40px
                cols: [[
                    { type: 'numbers', title: '序号', fixed: true },
                    { field: 'RoleName', title: '角色名称', minWidth: 120, sort: true },
                    { field: 'UserNo', title: '用户编号', minWidth: 120, sort: true },
                    { field: 'UserName', title: '用户名称', minWidth: 120, sort: true },
                    { field: 'CreateTime', title: '创建时间', minWidth: 160, sort: true, templet: '#txtCreateTime' },
                    { field: 'CreateUserName', title: '创建人', minWidth: 120, sort: true, templet: '#txtCreateUserName' },
                    { field: 'UpdateTime', title: '最后修改时间', minWidth: 160, sort: true, templet: '#txtUpdateTime' },
                    { field: 'UpdateUserName', title: '最后修改人', minWidth: 120, sort: true, templet: '#txtUpdateUserName' }
                ]],
            };

            table_render(tableOption);//加载表格数据
        }
    </script>
</asp:Content>
